apiVersion: blindage.org/v1
kind: SingleRedis
metadata:
  name: test2-rediska
  namespace: default
spec:
  image: redis
  persistentVolumeSize: 100Mi
  persistentVolumeClass: localpath-deckhouse
  persistentVolumePurge: true
  persistentVolumePath: /redis_data
  configmap: test2-custom-rediska

---
apiVersion: v1
data:
  redis.conf: |
    #test2 custom config file
    dir /redis_data
    tcp-keepalive 30
    save 900 1
    save 300 10
kind: ConfigMap
metadata:
  creationTimestamp: null
  name: test2-custom-rediska
  namespace: default
